home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-19 / iritsm3s.zip / CONFIG.H < prev    next >
C/C++ Source or Header  |  1992-01-20  |  814b  |  26 lines

  1. /*****************************************************************************
  2. *   General definitions for the configuration file reading routines         *
  3. *                                         *
  4. * Written by:  Gershon Elber                   Ver 0.2, Jan. 1989    *
  5. *****************************************************************************/
  6.  
  7. #ifndef CONFIG_H                       /* Defined Only once. */
  8. #define CONFIG_H
  9.  
  10. #define    SU_BOOLEAN_TYPE    1
  11. #define SU_INTEGER_TYPE    2
  12. #define SU_REAL_TYPE    3
  13. #define SU_STRING_TYPE    4
  14.  
  15. typedef struct ConfigStruct {
  16.     char *VarName;
  17.     VoidPtr VarData;
  18.     int   VarType;
  19. } ConfigStruct;
  20.  
  21. /* And finally the prototype of the configuration routines: */
  22. void Config(char *PrgmName, ConfigStruct *SetUp, int NumVar);
  23. void ConfigPrint(ConfigStruct *SetUp, int NumVar);
  24.  
  25. #endif    /* CONFIG_H */
  26.